﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/Admin.Master" AutoEventWireup="true" CodeBehind="Info.aspx.cs" Inherits="IMark.Admin.Account.Info" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <link href="<%= ResolveClientUrl("~/js/jui/jquery-ui.css") %>" rel="stylesheet" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <input type="hidden" id="ResolveClientUrl" value="<%= ResolveClientUrl("~/") %>" />
    <div class="row">
        <div class="col-lg-12">
            <div id="info" runat="server"></div>
            <div class="panel panel-green">
                <div class="panel-heading">
                    Cập Nhật Thông Tin Cá Nhân      
                </div>
                <!-- /.panel-heading -->
                <div class="panel-body">
                    <div class="form-group">
                        <label>Tên đăng nhập</label>
                        <input id="txtUserName" runat="server" disabled="disabled" class="form-control" />
                    </div>
                    <div class="form-group">
                        <label>Email <span class="irequire">(*)</span></label>
                        <input id="txtEmail" runat="server" placeholder="Nhập Email" class="form-control validate[required]" data-prompt-position="topLeft" />
                    </div>
                    <div class="form-group">
                        <label>Họ và tên <span class="irequire">(*)</span></label>
                        <input id="txtFullName" runat="server" placeholder="Nhập họ tên" class="form-control validate[required]" data-prompt-position="topLeft" />
                    </div>
                    <div class="form-group">
                        <label>Ngày sinh<span class="irequire">(*)</span></label>
                        <input id="txtBirthDay" runat="server" onkeypress="return false" placeholder="Ngày sinh" class="form-control validate[required]" data-prompt-position="topLeft" />
                    </div>
                    <div class="form-group">
                        <label>Giới tính</label>                        
                        <div id="lstGender" runat="server"></div>
                    </div>
                    <div class="form-group">
                        <label>Điện thoại</label>
                        <input id="txtPhone" runat="server" placeholder="Điện thoại" class="form-control" />
                    </div>
                    <div class="form-group">
                        <label>Địa chỉ</label>
                        <textarea id="txtAddress" placeholder="Địa chỉ" runat="server" rows="2" class="form-control"></textarea>
                    </div>

                    <!-- /.table-responsive -->
                    <asp:Button ID="btnUpdate" runat="server" CssClass="btn btn-primary" Text="Cập Nhật" OnClick="btnUpdate_Click" />
                    <asp:Button ID="btnCancel" runat="server" CssClass="btn btn-primary" Text="Thoát" UseSubmitBehavior="false" OnClick="btnCancel_Click" />
                </div>
                <!-- /.panel-body -->
            </div>
            <!-- /.panel -->
        </div>
        <!-- /.col-lg-12 -->
    </div>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Footer" runat="server">
    <script src="<%= ResolveClientUrl("~/js/jui/jquery-ui.js") %>"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            var txtBirthDay = "<%= txtBirthDay.ClientID %>";
            $("#aspnetForm").validationEngine();
            $("#" + txtBirthDay).datepicker({
                changeMonth: true,
                changeYear: true,
                yearRange: "-70:-10",                
                dateFormat: 'dd/mm/yy',
            });
        });
    </script>
</asp:Content>
